<script>
	// #ifdef APP
	import silenceUpdate from '@/uni_modules/rt-uni-update/js_sdk/silence-update.js'

	// #endif

	export default {
		onLaunch: function() {
			  
		
			this.Banmikeji.appinit_h5()
			uni.hideTabBar()
		 
			//app检测更新
			this.Banmikeji.app_updata()
			//获取插件配置信息
			this.Http.post('/plugin.php/luyouzujiditu/api/Settings/index').then(ret => {
				if (ret.status == 200) {
					
					//把插件的基本设置加入到vuex缓存  vue中 直接this.get_plugin_set 获取
					this.Banmikeji.setStore("get_plugin_set", ret.data.set_find);
					this.Banmikeji.setStore("get_map_json", ret.data.json);
					
	
			 
				}
			})
		},
		onShow: function() {
			console.log('App onShow')
			this.Banmikeji.appinit()
		},
		onHide: function() {
			console.log('App Hide')
		},
	}
</script>

<style lang="scss">
	/*每个页面公共css */
	@import "./static/mi.scss";
	@import "./static/iconfont.css";
	@import "./static/banmiweixinquen.scss";
	.bg-l {
		background-image: url("");
		background-size: 100% 100%;
		background-size: cover;
		height: 100vh;
	}
	
</style>